<!DOCTYPE html>
<html lang="en">
    <head>
        <?php echo $this->Html->charset(); ?>
        <title><?php echo $title_for_layout; ?></title>
        <?php
        echo $this->Html->meta('icon');
        echo $this->fetch('meta');

        echo $this->Html->css('bootstrap.min.css');
        echo $this->Html->css('bootstrap-responsive.min.css');
        echo $this->Html->css('aristo/jquery-ui.css');
        echo $this->Html->css('layouts/web.css', null, array('inline' => false));
        echo $this->Html->css('jquery.pnotify/jquery.pnotify.default');
        echo $this->Html->css('jquery.contextmenu/jquery.contextMenu');
        echo $this->Html->css('jquery.nanoscroller/jquery.nanoscroller');
        echo $this->fetch('css');

        echo $this->Html->script('jquery-1.7.1.min.js');
        echo $this->Html->script('jquery-ui.js');
        echo $this->Html->script('bootstrap.min.js');
        echo $this->Html->script('plugins/jquery.pnotify/jquery.pnotify.min');
        echo $this->Html->script('plugins/jquery.contextmenu/jquery.contextMenu');
        echo $this->Html->script('plugins/jquery.nanoscroller/jquery.nanoscroller.min');
        echo $this->Html->script('core/mvc.js');
        echo $this->Html->script('core/app.js');
        ?>
    </head>
    <body>

        <div class="navbar navbar-fixed-top">
            <div class="navbar-inner">
                <div class="container">
                    <!-- .btn-navbar is used as the toggle for collapsed navbar content -->
                    <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </a>

                    <a class="brand" href="#">
                        <?php echo $this->Html->image('core/memberz-mini.png'); ?>
                    </a>

                    <div class="nav-collapse">
                        <ul class="nav">
                            <li  class="active"><a href="<?php echo $this->Html->url(array('controller' => 'organisation', 'action' => 'web_index')); ?>">Home</a></li>
                            <li><a href="<?php echo $this->Html->url(array('controller' => 'organisation', 'action' => 'web_about_us')); ?>">About Us</a></li>
                            <li><a href="<?php echo $this->Html->url(array('controller' => 'organisation', 'action' => 'web_packages')); ?>">Packages</a></li>
                            <li><a href="<?php echo $this->Html->url(array('controller' => 'organisation', 'action' => 'web_register')); ?>">Sign Up</a></li>
                        </ul>
                        
                        <ul class="nav pull-right">
                            <li><a href="<?php echo $this->Html->url("/admin/organisation/"); ?>"><i class="icon icon-user"></i> Sign In</a></li>
                        </ul>

                        <!--<ul class="nav pull-right">
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                    Charismatic Baptist Church, Taifa <b class="caret"></b>
                                </a>
                                <ul class="dropdown-menu">
                                    <li>
                                        <a href="#">Edit Organization</a>
                                    </li>
                                    <li>
                                        <a href="#">Change Subscription</a>
                                    </li>
                                    <li class="divider"></li>
                                    <li>
                                        <a href="#">Feedback / Support</a>
                                    </li>
                                </ul>
                            </li>
                            <li class="divider-vertical"></li>
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                    Francis 
                                    <b class="caret"></b>
                                </a>
                                <ul class="dropdown-menu">
                                    <li>
                                        <a href="#">Account Info</a>
                                    </li>
                                    <li class="divider"></li>
                                    <li>
                                        <a href="#">Logout</a>
                                    </li>
                                </ul>
                            </li>
                        </ul>-->
                    </div>
                </div>
            </div>
        </div>


        <div class="container" id="web_container" style="background-color: rgba(255,255,255,0.9);">
            <div class="row-fluid">
                <div class="span3">
                    <?php echo "home"; ?>
                </div>
                
                <div class="span9">
                    <?php echo $this->fetch('content'); ?>
                </div>
            </div>
        </div>

        <?php echo $this->fetch('script'); ?>
    </body>
</html>
